<?php
/*
**	FILE NAME: 	log.php 	(Last Update: 24 NOVEMBER 2011)
** 	DESCRIPTION: web application logging config
**	 
**	LICENSE:	
**
**	@programmer	-
**	@license	
**	@version	Release: @1.0@
**	@link		http://www.domain.com/package/packagename
**	@since		File available since Release 1.0
**
*/
return array(
	array(
	  'class'=>'CFileLogRoute',
	  //'levels'=>'trace, info, profile, warning, error',
	  'levels'=>'warning, error',
	  //'filter' => 'CLogFilter',
	  //'categories'=>'system.*',
	  //'enabled' => false, //disable this Log Route
	),

	array(
	  'class'=>'CWebLogRoute',
	  'levels'=>'trace, info, warning, error',
	  'categories'=>'system.*',
	  'showInFireBug' => true, //enable log to be displayed in FireBug
	  'enabled' => false, //disable this Log Route
	),

	array(
	  'class'=>'CProfileLogRoute',
	  'levels'=>'error', //'warning, error'
	  //'categories'=>'system.*',
	  //'report' => 'summary',
	  'report' => 'callstack',
	  'enabled' => false, //disable this Log Route
	),
					  
/*				array(
				  'class'=>'CEmailLogRoute',
				  'levels'=> CLogger::LEVEL_ERROR, //'warning, error',
				  'categories'=>'system.*',
				  'emails' => array('support@domain.com'),
				  'sentFrom' => 'log@domain.com',
				  'subject' => 'Error at domain.com',
				),*/

/*				array(
				  'class'=>'CDbLogRoute',
				  'levels'=>'warning, error',
				  'categories'=>'system.*',
				  'enabled' => false, //disable this Log Route
				),*/
);